package Scrap;

public class demo17_breakString {

	public static void main(String[] args) {

		String number = "1234";

		int num = Integer.parseInt(number);

		int[] split_nums = new int[number.length()];

		for (int i = 0; i < number.length(); i++) {

			int x = num % 10;
			int multiplier = 10;

			multiplier = (int) Math.pow(multiplier, i);
			x = x * multiplier;
			num = num / 10;

			split_nums[i] = x;

			System.out.println(split_nums[i]);

		}

	}

}
